home *** CD-ROM | disk | FTP | other *** search
Wrap
head 1.2; branch ; access ; symbols ; locks ; strict; comment @ * @; 1.2 date 92.03.29.12.12.59; author death; state Exp; branches ; next 1.1; 1.1 date 92.03.22.15.47.18; author death; state Exp; branches ; next ; desc @This file is the header file for the reply object. @ 1.2 log @ turns out that 2.0 wants init calls to be in the object, not the class. Modified accordingly, nad moved free into object also. @ text @/* ==================================================================== This is the interface file for the Reply class. Full documentation for this class can be found in the Reply.rtf file. I will not duplicate all that fine information here. This is $Revision: 1.1 $ of this file It was last modified by $Author: death $ on $Date: 92/03/22 15:47:18 $ Note that this file was created while using the New Century Schoolbook Roman typeface. You may find that some things line up strangely if you don't use that family. $Log: Reply.h,v $ * Revision 1.1 92/03/22 15:47:18 death * Initial revision * ==================================================================== */ // // Import our parent class' definition // #import "ErrorInfo.h" #import "generalTypes.h" // // Now, define our interface. Again, see the ErrorInfo.rtf document for general info. // @@interface Reply:ErrorInfo { long int dataType; unsigned long int theData; } - (id) initReplyWithCode: (long int) code Text: (Cstring) text Kind: (long int) kind Data: (void*) dataVal Type: (int) dataType; - (id) initReplyWithCode: (long int) code Text: (Cstring) text Data: (void*) dataVal Type: (int) dataType; - (id) initReplyWithCode: (long int) code Text: (Cstring) text Data: (void*) dataVal; - free; - (byte) getByte; - (char) getChar; - (Cstring) getCstring; - (void*) getGeneral; - (short) getShort; - (int) getInt; - (long int) getLong; - (id) getObject; - (unsigned short) getUnsignedShort; - (unsigned int) getUnsignedInt; - (unsigned long int) getUnsignedLong; @@end // // Now, define some constants used by the class to define the kinds of data types we use // #define TYPE_NONE 0 #define TYPE_GENERAL 1 #define TYPE_CSTRING 2 #define TYPE_BYTE 3 #define TYPE_CHAR 4 #define TYPE_SHORT 5 #define TYPE_INT 6 #define TYPE_LONG 7 #define TYPE_USHORT 8 #define TYPE_UINT 9 #define TYPE_ULONG 10 #define TYPE_OBJECT 11 @ 1.1 log @Initial revision @ text @d4 2 a5 2 This is $Revision: $ of this file It was last modified by $Author: $ on $Date: $ d7 4 a10 1 $Log:$ d30 1 a30 1 + (id) initReplyWithCode: (long int) code Text: (Cstring) text Kind: (long int) kind d32 1 a32 1 + (id) initReplyWithCode: (long int) code Text: (Cstring) text Data: (void*) dataVal d34 2 a35 2 + (id) initReplyWithCode: (long int) code Text: (Cstring) text Data: (void*) dataVal; + free; @